﻿package com.toncen.samepms.basic.domain;

import java.util.Date;

import com.toncen.samepms.common.AbstractDomain;
import com.sky.dataimport.DynamicCellDataCell;
import com.sky.dataimport.DynamicCellDataRow;
import com.sky.dataimport.DynamicRowDataCell;
import com.sky.dataimport.DynamicRowDataRow;
import com.sky.dataimport.StaticDataCell;
import com.sky.dataimport.StaticDataRow;
import com.sky.dataimport.datatype.DateDataType;
import com.sky.dataimport.formater.UtilDateDataFormater;
 
/**
 * 描述：附件管理表BASIC_DOCUMENTS_UPLOAD的domain文件
 * 
 * @author tch
 */
@DynamicRowDataRow(title = "动态行附件管理", sheetIndex = 1, startRowIndex = 2, startCellIndex = 1, inserted = false)
@DynamicCellDataRow(title = "动态列附件管理", sheetIndex = 1, startRowIndex = 2, startCellIndex = 2, inserted = false)
@StaticDataRow(title = "静态行列附件管理", sheetIndex = 1)
public class DocumentsUpload extends AbstractDomain {
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 1337079669060L;
	
	/**
	 * 显示文件名
	 */ 
	@StaticDataCell(rowIndex = 1, cellIndex = 1, title = "显示文件名")
	@DynamicRowDataCell(cellIndex = 1,  title = "显示文件名", require = false)
	@DynamicCellDataCell(rowIndex = 1,  title = "显示文件名", require = false)
	private  String displayFilename; 	 
    
	/**
	 * 存放文件名
	 */ 
	@StaticDataCell(rowIndex = 2, cellIndex = 2, title = "存放文件名")
	@DynamicRowDataCell(cellIndex = 2,  title = "存放文件名", require = false)
	@DynamicCellDataCell(rowIndex = 2,  title = "存放文件名", require = false)
	private  String fileName; 	 
    
	/**
	 * 文件大小
	 */ 
	@StaticDataCell(rowIndex = 3, cellIndex = 3, title = "文件大小")
	@DynamicRowDataCell(cellIndex = 3,  title = "文件大小", require = false)
	@DynamicCellDataCell(rowIndex = 3,  title = "文件大小", require = false)
	private  String fileSize; 	 
    
	/**
	 * 文件后缀
	 */ 
	@StaticDataCell(rowIndex = 4, cellIndex = 4, title = "文件后缀")
	@DynamicRowDataCell(cellIndex = 4,  title = "文件后缀", require = false)
	@DynamicCellDataCell(rowIndex = 4,  title = "文件后缀", require = false)
	private  String fileSuffix; 	 
    
	/**
	 * 文件形式
	 */ 
	@StaticDataCell(rowIndex = 5, cellIndex = 5, title = "文件形式")
	@DynamicRowDataCell(cellIndex = 5,  title = "文件形式", require = false)
	@DynamicCellDataCell(rowIndex = 5,  title = "文件形式", require = false)
	private  String fileStyle; 	 
    
	/**
	 * 文件级别
	 */ 
	@StaticDataCell(rowIndex = 6, cellIndex = 6, title = "文件级别")
	@DynamicRowDataCell(cellIndex = 6,  title = "文件级别", require = false)
	@DynamicCellDataCell(rowIndex = 6,  title = "文件级别", require = false)
	private  String fileGrade; 	 
    
	/**
	 * 文件所属类型
	 */ 
	@StaticDataCell(rowIndex = 7, cellIndex = 7, title = "文件所属类型")
	@DynamicRowDataCell(cellIndex = 7,  title = "文件所属类型", require = false)
	@DynamicCellDataCell(rowIndex = 7,  title = "文件所属类型", require = false)
	private  String fileType; 	 
    
	/**
	 * 文件存放路径
	 */ 
	@StaticDataCell(rowIndex = 8, cellIndex = 8, title = "文件存放路径")
	@DynamicRowDataCell(cellIndex = 8,  title = "文件存放路径", require = false)
	@DynamicCellDataCell(rowIndex = 8,  title = "文件存放路径", require = false)
	private  String filePath; 	 
    
	/**
	 * 文件描述
	 */ 
	@StaticDataCell(rowIndex = 9, cellIndex = 9, title = "文件描述")
	@DynamicRowDataCell(cellIndex = 9,  title = "文件描述", require = false)
	@DynamicCellDataCell(rowIndex = 9,  title = "文件描述", require = false)
	private  String fileDes; 	 
    
	/**
	 * 上传用户
	 */ 
	@StaticDataCell(rowIndex = 10, cellIndex = 10, title = "上传用户")
	@DynamicRowDataCell(cellIndex = 10,  title = "上传用户", require = false)
	@DynamicCellDataCell(rowIndex = 10,  title = "上传用户", require = false)
	private  long uploadUser; 	 
    
	/**
	 * 上传时间
	 */ 
	@StaticDataCell(rowIndex = 11, cellIndex = 11, title = "上传时间")
	@DynamicRowDataCell(cellIndex = 11, title = "上传时间", formater = UtilDateDataFormater.class, option = "yyyy-MM-dd", require = false)
	@DynamicCellDataCell(rowIndex = 11, title = "上传时间", formater = UtilDateDataFormater.class, option = "yyyy-MM-dd", require = false)
	@DateDataType
	private  Date uploadDate; 	 
    
	private DocumentRelation documentRelation;
	
	public DocumentsUpload() {
		super();
	}

	/**
	 * @return the  displayFilename
	 */
	public  String getDisplayFilename() {
		return  displayFilename;
	}

	/**
	 * @param  displayFilename
	 *            the  displayFilename to set
	 */
	public void setDisplayFilename( String  displayFilename) {
		this. displayFilename =  displayFilename;
	}
	
	/**
	 * @return the  fileName
	 */
	public  String getFileName() {
		return  fileName;
	}

	/**
	 * @param  fileName
	 *            the  fileName to set
	 */
	public void setFileName( String  fileName) {
		this. fileName =  fileName;
	}
	
	/**
	 * @return the  fileSize
	 */
	public  String getFileSize() {
		return  fileSize;
	}

	/**
	 * @param  fileSize
	 *            the  fileSize to set
	 */
	public void setFileSize( String  fileSize) {
		this. fileSize =  fileSize;
	}
	
	/**
	 * @return the  fileSuffix
	 */
	public  String getFileSuffix() {
		return  fileSuffix;
	}

	/**
	 * @param  fileSuffix
	 *            the  fileSuffix to set
	 */
	public void setFileSuffix( String  fileSuffix) {
		this. fileSuffix =  fileSuffix;
	}
	
	/**
	 * @return the  fileStyle
	 */
	public  String getFileStyle() {
		return  fileStyle;
	}

	/**
	 * @param  fileStyle
	 *            the  fileStyle to set
	 */
	public void setFileStyle( String  fileStyle) {
		this. fileStyle =  fileStyle;
	}
	
	/**
	 * @return the  fileGrade
	 */
	public  String getFileGrade() {
		return  fileGrade;
	}

	/**
	 * @param  fileGrade
	 *            the  fileGrade to set
	 */
	public void setFileGrade( String  fileGrade) {
		this. fileGrade =  fileGrade;
	}
	
	/**
	 * @return the  fileType
	 */
	public  String getFileType() {
		return  fileType;
	}

	/**
	 * @param  fileType
	 *            the  fileType to set
	 */
	public void setFileType( String  fileType) {
		this. fileType =  fileType;
	}
	
	/**
	 * @return the  filePath
	 */
	public  String getFilePath() {
		return  filePath;
	}

	/**
	 * @param  filePath
	 *            the  filePath to set
	 */
	public void setFilePath( String  filePath) {
		this. filePath =  filePath;
	}
	
	/**
	 * @return the  fileDes
	 */
	public  String getFileDes() {
		return  fileDes;
	}

	/**
	 * @param  fileDes
	 *            the  fileDes to set
	 */
	public void setFileDes( String  fileDes) {
		this. fileDes =  fileDes;
	}
	
	
	
	public long getUploadUser() {
		return uploadUser;
	}

	public void setUploadUser(long uploadUser) {
		this.uploadUser = uploadUser;
	}

	/**
	 * @return the  uploadDate
	 */
	public  Date getUploadDate() {
		return  uploadDate;
	}

	/**
	 * @param  uploadDate
	 *            the  uploadDate to set
	 */
	public void setUploadDate( Date  uploadDate) {
		this. uploadDate =  uploadDate;
	}

	public DocumentRelation getDocumentRelation() {
		return documentRelation;
	}

	public void setDocumentRelation(DocumentRelation documentRelation) {
		this.documentRelation = documentRelation;
	}
	
}
